package com.yrot.admin.controller;

import com.yrot.admin.entity.SysExpert;
import org.apache.shiro.SecurityUtils;

/**
 * Created by hemin on 2019/4/15.
 */
public class BaseController {

    public SysExpert sysExpert(){
        return (SysExpert) SecurityUtils.getSubject().getPrincipal();
    }
}
